3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D provides routines that you can use to determine the length of a vector.
You can use the Q3Vector2D_Length function to determine the length of a two-dimensional vector.
float Q3Vector2D_Length (const TQ3Vector2D *vector2D);
You can use the Q3Vector3D_Length function to determine the length of a three-dimensional vector.
float Q3Vector3D_Length (const TQ3Vector3D *vector3D);
Previous | QD3D Book | Overview | Chapter Contents | Next |